package com.mxpio.erp.common.sales.service;

import com.mxpio.erp.common.jpa.model.OrderLineKey;
import com.mxpio.erp.common.sales.entity.SalesOrderLine;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SalesOrderLineService extends BaseService<SalesOrderLine> {
    List<SalesOrderLine> list(Criteria c);

    List<SalesOrderLine> auditList(Criteria c);

    Page<SalesOrderLine> listPage(Pageable page, Criteria c);

    SalesOrderLine getById(OrderLineKey id);

}
